

package cn.shengchao.base.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@AllArgsConstructor
@NoArgsConstructor
@Getter
public enum ResponseCode {

    SUCCESS("0000", "调用成功"), UN_ERROR("0001", "调用失败"), ILLEGAL_PARAMETER("0002", "非法参数"), INDEX_DUP("0003", "唯一索引冲突"),
    RATE_LIMITER("0004", "访问限流拦截"), HYSTRIX("0005", "访问熔断拦截"),;

    private String code;
    private String info;

}
